package demo;
//实例化对象
import java.io.Serializable;

public class Content implements Serializable{ // 使用Serializable类，可以使得对象被实例化，用于保存对象
	private String number;
	private String name;
	private String sex;
	private String dor;
	private String address;
	private String data;
	private String pol;
	private String phone;
	
	public Content(String number,String name,String sex,String dor,String data,String address,String pol,String phone) {
		this.number = number;
		this.name = name;
		this.sex = sex;
		this.address =address;
		this.data = data;
		this.dor = dor;
		this.pol = pol;
		this.phone = phone;
	}
	
	public void setNumber(String number) {
		this.number = number;
	}
	public String getNumber() {
		return number;
	}
	
	public void setname(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getSex() {
		return sex;
	}
	public void setDor(String dor) {
		this.dor = dor;
	}
	public String getDor() {
		return dor;
	}
	public void setPol(String pol) {
		this.pol = pol;
	}
	public String getPol() {
		return pol;
	}
	public void setData(String data) {
		this.data = data;
	}
	public String getData() {
		return data;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPhone() {
		return phone;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getAddress() {
		return address;
	}
}
